package com.cuit.freshmanMS.query;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassQuery {

    private Integer currentPage=1;
    private Integer pageSize=10;
    // 学院id
    private Integer anoK;

    // 辅导员姓名
    private String teacherNameK;

    // 班级名称
    private String cnameK;

    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;
    }
}
